package com.freeLearning.boot.course.model.VO;

import com.freeLearning.boot.course.model.entity.CourseInfo;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
@Schema(description = "课程信息PageVO")
public class CourseInfoPageVO extends CourseInfo {
    @Schema(description = "集数")
    private Integer chapterNum;
    @Schema(description = "用户收藏数")
    private Integer favoriteCount;
    @Schema(description = "收到的评论数量")
    private Integer reviewCount;

    @Schema(description = "点赞数量")
    private Integer likeCount;

    @Schema(description = "课程评分")
    private Double score;
}
